﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C7F RID: 3199
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class NpcMeetByPerformanceStatus : IMessage<NpcMeetByPerformanceStatus>, IMessage, IEquatable<NpcMeetByPerformanceStatus>, IDeepCloneable<NpcMeetByPerformanceStatus>, IBufferMessage
	{
		// Token: 0x17002849 RID: 10313
		// (get) Token: 0x06008EFF RID: 36607 RVA: 0x0017BF25 File Offset: 0x0017A125
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<NpcMeetByPerformanceStatus> Parser
		{
			get
			{
				return NpcMeetByPerformanceStatus._parser;
			}
		}

		// Token: 0x1700284A RID: 10314
		// (get) Token: 0x06008F00 RID: 36608 RVA: 0x0017BF2C File Offset: 0x0017A12C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return NpcMeetByPerformanceStatusReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700284B RID: 10315
		// (get) Token: 0x06008F01 RID: 36609 RVA: 0x0017BF3E File Offset: 0x0017A13E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return NpcMeetByPerformanceStatus.Descriptor;
			}
		}

		// Token: 0x06008F02 RID: 36610 RVA: 0x0017BF45 File Offset: 0x0017A145
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NpcMeetByPerformanceStatus()
		{
		}

		// Token: 0x06008F03 RID: 36611 RVA: 0x0017BF4D File Offset: 0x0017A14D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NpcMeetByPerformanceStatus(NpcMeetByPerformanceStatus other) : this()
		{
			this.isMeet_ = other.isMeet_;
			this.performanceId_ = other.performanceId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008F04 RID: 36612 RVA: 0x0017BF7E File Offset: 0x0017A17E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NpcMeetByPerformanceStatus Clone()
		{
			return new NpcMeetByPerformanceStatus(this);
		}

		// Token: 0x1700284C RID: 10316
		// (get) Token: 0x06008F05 RID: 36613 RVA: 0x0017BF86 File Offset: 0x0017A186
		// (set) Token: 0x06008F06 RID: 36614 RVA: 0x0017BF8E File Offset: 0x0017A18E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsMeet
		{
			get
			{
				return this.isMeet_;
			}
			set
			{
				this.isMeet_ = value;
			}
		}

		// Token: 0x1700284D RID: 10317
		// (get) Token: 0x06008F07 RID: 36615 RVA: 0x0017BF97 File Offset: 0x0017A197
		// (set) Token: 0x06008F08 RID: 36616 RVA: 0x0017BF9F File Offset: 0x0017A19F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PerformanceId
		{
			get
			{
				return this.performanceId_;
			}
			set
			{
				this.performanceId_ = value;
			}
		}

		// Token: 0x06008F09 RID: 36617 RVA: 0x0017BFA8 File Offset: 0x0017A1A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as NpcMeetByPerformanceStatus);
		}

		// Token: 0x06008F0A RID: 36618 RVA: 0x0017BFB6 File Offset: 0x0017A1B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(NpcMeetByPerformanceStatus other)
		{
			return other != null && (other == this || (this.IsMeet == other.IsMeet && this.PerformanceId == other.PerformanceId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008F0B RID: 36619 RVA: 0x0017BFF4 File Offset: 0x0017A1F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IsMeet)
			{
				num ^= this.IsMeet.GetHashCode();
			}
			if (this.PerformanceId != 0U)
			{
				num ^= this.PerformanceId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008F0C RID: 36620 RVA: 0x0017C04C File Offset: 0x0017A24C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008F0D RID: 36621 RVA: 0x0017C054 File Offset: 0x0017A254
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008F0E RID: 36622 RVA: 0x0017C060 File Offset: 0x0017A260
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IsMeet)
			{
				output.WriteRawTag(48);
				output.WriteBool(this.IsMeet);
			}
			if (this.PerformanceId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.PerformanceId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008F0F RID: 36623 RVA: 0x0017C0BC File Offset: 0x0017A2BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IsMeet)
			{
				num += 2;
			}
			if (this.PerformanceId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PerformanceId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008F10 RID: 36624 RVA: 0x0017C108 File Offset: 0x0017A308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(NpcMeetByPerformanceStatus other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IsMeet)
			{
				this.IsMeet = other.IsMeet;
			}
			if (other.PerformanceId != 0U)
			{
				this.PerformanceId = other.PerformanceId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008F11 RID: 36625 RVA: 0x0017C158 File Offset: 0x0017A358
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008F12 RID: 36626 RVA: 0x0017C164 File Offset: 0x0017A364
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PerformanceId = input.ReadUInt32();
					}
				}
				else
				{
					this.IsMeet = input.ReadBool();
				}
			}
		}

		// Token: 0x0400368C RID: 13964
		private static readonly MessageParser<NpcMeetByPerformanceStatus> _parser = new MessageParser<NpcMeetByPerformanceStatus>(() => new NpcMeetByPerformanceStatus());

		// Token: 0x0400368D RID: 13965
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400368E RID: 13966
		public const int IsMeetFieldNumber = 6;

		// Token: 0x0400368F RID: 13967
		private bool isMeet_;

		// Token: 0x04003690 RID: 13968
		public const int PerformanceIdFieldNumber = 13;

		// Token: 0x04003691 RID: 13969
		private uint performanceId_;
	}
}
